package com.atguigu.service.edu_order.feignClient;

import com.atguigu.commonutils.ordervo.UcenterMemberEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @description:
 * @author: Administrator
 * @date: 2021-04-29 1:40
 */
@Component
@FeignClient(name = "service-umember")
public interface OrderFeignMember {

    //获取用户信息
    @GetMapping("/edu_ucenter/ucentermember/getUserInfoByMemberId/{memberId}")
    public UcenterMemberEntity getUserInfoByMemberId(@PathVariable(value = "memberId") String memberId);
}
